module.exports = (options,app) => {
    return async (ctx,next) => {  //真正中间件
        ctx.params = {...ctx.query,...ctx.request.body};
        await next()
    }
}